<template>
  <!--我的收藏页  -->
  <div class="box">
    <myheader page="我的收藏">
      <span
        slot="left"
        class="iconfont iconjiantou2"
        @click="$router.back()"
      ></span>
    </myheader>
    <articleBlock
      v-for="item in acll"
      :key="item.id"
      :post="item"
    ></articleBlock>
  </div>
</template>

<script>
import myheader from "@/components/header.vue";
import articleBlock from "@/components/articleBlock.vue";
import { user_star } from "@/apis/post.js";
export default {
  data() {
    return {
      acll: [],
    };
  },
  components: {
    myheader,
    articleBlock,
  },
  async mounted() {
    let res = await user_star();
    this.acll = res.data.data;
  },
};
</script>

<style>
</style>